<?php
class Attachment extends AppModel {
    public $actsAs = array(
        'Upload.Upload' => array(
            'attachment' => array(
                'thumbnailSizes' => array(
                    'xvga' => '1024x768',
                    'vga' => '640x480',
                    'thumb' => '200x150',
                ),
            ),
        ),
    );

    public $belongsTo = array(
        'Curriculo' => array(
            'className' => 'Curriculo',
            'foreignKey' => 'foreign_key'
        )
    );
}
?>
